package pers.cj.pdos.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pers.cj.pdos.entity.HouseInGoods;
import pers.cj.pdos.mapper.HouseInGoodsMapper;
import pers.cj.pdos.service.IHouseInGoodsService;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author chenj
 * @since 2020-01-14
 */
@Service
public class HouseInGoodsServiceImpl extends ServiceImpl<HouseInGoodsMapper, HouseInGoods> implements IHouseInGoodsService {
    @Autowired
    HouseInGoodsMapper houseInGoodsMapper;
    @Override
    public List<HouseInGoods> listByLinkId(String linkId) {
        return houseInGoodsMapper.listByLinkId(linkId);
    }
}
